package JLB_Chapter_05;
// StringContains
public class code_05_13 {
    public static void main(String[] args) {
        String str = "今天的菜单有：蒸羊羔，蒸熊掌，蒸鹿尾。烧花鸭，烧雏鸡，烧子鹅。";
        System.out.println(str);
        boolean request1 = str.contains("蒸羊羔");
        System.out.println("今天有蒸羊羔吗？" + request1);
        boolean request2 = str.contains("汉堡");
        System.out.println("今天有汉堡吗？" + request2);
    }
}
